package cn.mason.echarts.service;

import cn.mason.echarts.model.User;

import java.util.List;
import java.util.Map;

/**
 * @author Mason
 * @date 2018/6/7
 */
public interface UserService {
    List<User> listByParams(Map<String, Object> params);
    int insert(User record);
    List<User> listAll();
    int delete(String id);
    User findByAccount(String account);
}
